﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Business;

namespace Start
{
    class Program
    {
        static void Main(string[] args)
        {
            CategoriesManager.Create(new Category() {Name = "DotNET", Description = "Framework Microsoft" });
            ArticlesManager.Create(new Article() {Title = "Premier article", Content = "Contenu du premier article", CategoryID = 1 });
            ArticlesManager.Create(new Article() { Title = "Deuxième article", Content = "Contenu du deuxieme article", CategoryID = 1 });
            Console.Read();
        }
    }
}
